package designPatterns_demo.builder_pattern.demo1;

public class BuilderPatternDemo {
	public static void main(String[] args) {
		MealBuilder builder = new MealBuilder();
		
		Meal vegMeal = builder.prepareVegMeal();
		System.out.println("Veg Meal");
		vegMeal.showItems();
		System.out.println("Total Cost : " + vegMeal.getCost());
		System.out.println("****************************************************************");
		Meal nonVegMeal = builder.prepareNonVegMeal();
		System.out.println("NonVeg Meal");
		nonVegMeal.showItems();
		System.out.println("Total Cost : " + nonVegMeal.getCost());
	}
}
